home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / binutils.252 / ld / ldmisc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-14  |  1.5 KB  |  47 lines

  1. /* ldmisc.h -
  2.    Copyright (C) 1991, 92, 93, 94 Free Software Foundation, Inc.
  3.  
  4.    This file is part of GLD, the Gnu Linker.
  5.  
  6.    GLD is free software; you can redistribute it and/or modify
  7.    it under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2, or (at your option)
  9.    any later version.
  10.  
  11.    GLD is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.  
  16.    You should have received a copy of the GNU General Public License
  17.    along with GLD; see the file COPYING.  If not, write to
  18.    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef LDMISC_H
  21. #define LDMISC_H
  22.  
  23. /* VARARGS*/
  24. extern void einfo ();
  25. /* VARARGS*/
  26. extern void minfo ();
  27. /* VARARGS*/
  28. extern void info_msg ();
  29. extern void info_assert PARAMS ((char *, unsigned int));
  30. extern void yyerror PARAMS ((const char *));
  31. extern PTR xmalloc PARAMS ((size_t));
  32. extern PTR xrealloc PARAMS ((PTR, size_t));
  33. extern void xexit PARAMS ((int));
  34. extern char *buystring PARAMS ((CONST char *CONST));
  35.  
  36. #define ASSERT(x) \
  37. do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0)
  38.  
  39. #define FAIL() \
  40. do { info_assert(__FILE__,__LINE__); } while (0)
  41.  
  42. extern void print_space PARAMS ((void));
  43. extern void print_nl PARAMS ((void));
  44. extern void print_address PARAMS ((bfd_vma value));
  45.  
  46. #endif
  47.